import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import index1 from '@/components/index1.vue'
import data from '@/components/data.vue'
import index2 from '@/components/index2.vue'
import index3 from '@/components/index3.vue'
import index4 from '@/components/index4.vue'
import index5 from '@/components/index5.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index1',
      component: index1
    },
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/index2',
      name: 'index2',
      component: index2
    },
    {
      path: '/index3',
      name: 'index3',
      component: index3
    },
    {
      path: '/index4',
      name: 'index4',
      component: index4
    },
    {
      path: '/index5',
      name: 'index5',
      component: index5
    },
    {
      path: '/data',
      name: 'data',
      component: data
    }
  ]
})
